//
// Created by tan90 on 25-4-27.
//

#include <stdio.h>

/**
 * 指针加减运算
 * @return
 */
int main() {
    int a = 10;

    int *p1 = &a;
    int *p2 = p1; // 不是二级指针

    printf("%p\n", p1);
    printf("%p\n", p2);

    *p2 = 210;
    printf("%d\n", a);
    *p1 = 213;
    printf("%d\n", a);

    int **p3 = &p1;
    printf("%p\n", p3);
    printf("%p\n", *p3);
    printf("%d\n", **p3);
}
